{% extends 'account/base.html' %}
{% load avatar_tags %}
{% load lbforum %}
{% load i18n %}

{% block title %}
	欢迎查看{{ user.username }}的资料{{ topic.subject }} - {{ block.super }}
{% endblock %}
{% block brd-page-id %}brd-profile-about{% endblock %}
{% block main_head %}{{ user.username }}<!--  { % trans "'s profile"% }-->的资料{% endblock %}
{% block main_subhead %}<!--  { % trans "Welcome to"% }-->欢迎查看{{ user.username }}<!--  { % trans "'s profile"% }-->的资料{% endblock %}

{% block account_main_content %}
    <div id="brd-wrap" class="brd">

    <form enctype="multipart/form-data" method="POST" action="">
 <fieldset class="frm-group group1">

 <legend class="group-legend"><strong>头像</strong></legend>
	<div class="ct-set info-set set1">
                <div class="ct-box info-box">
                    <h3 class="hn ct-legend">当前头像</h3>
					<p>{% avatar user %}</p>
                   

                </div>

            </div>

            <div class="sf-set set3">

                <div class="sf-box text">

                    <label for="fld1"><span>上传头像:</span>

						<small>

							允许的图片类型为 gif, jpeg 和 png.

						</small>

					</label><br>
                    <span class="fld-input"><input type="file" name="avatar" value="头像图片" /></span>
                            <div class="frm-buttons">

            <span class="submit"><input type="submit" value={% trans "Upload New Image" %} /></span>

        </div>
                </div>
            </div>
        </fieldset>


      <!--  { % csrf_token % } --> 
      <!--  { { avatar_form } }  -->

    </form>
    

</div><!-- brd-index ends -->
</div><!-- brd-wrap ends -->
    
{% endblock %}
